/*
 * @Descripttion:
 * @version:
 * @Author: sueRimn
 * @Date: 2019-11-26 09:39:15
 * @LastEditors: sueRimn
 * @LastEditTime: 2019-11-26 09:41:34
 */
export const touchRefresh = {
  watch: {
    '$route' (n, o) {
      console.log('$route', n, o)
      if (n.name === o.name) {
        if (n.query._ && (n.query._ !== o.query._)) {
          this.handleReset()
        }
      }
    }
  }
}
